package com.example.seata.action;

public interface InventoryService {

    boolean tryDecreaseInventory(String productId, int amount);

    boolean confirmDecreaseInventory(String productId, int amount);

    boolean cancelDecreaseInventory(String productId, int amount);
}